<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>进销存管理系统-管理员列表</title>
<link rel="stylesheet" href="${ctx}/bootstrap3/css/bootstrap.min.css">
<link rel="stylesheet" href="${ctx}/css/my.css">
<link href="${ctx}/My97DatePicker/skin/WdatePicker.css" rel="stylesheet">
<script type="text/javascript"
	src="${ctx}/My97DatePicker/WdatePicker.js"></script>
</head>
<body>
	<!-- 导航条 -->
	<jsp:include page="/mng/nav.jsp" />
	<!-- /导航条 -->

	<!-- 主容器 -->
	<div class="container" style="margin-top: 76px">
		<div class="row">
			<!-- 功能菜单 -->
			<jsp:include page="/mng/menu.jsp" />
			<!-- /功能菜单 -->

			<!-- 主界面 -->
			<div id="main" class="main col-md-9">
				<!-- 路径导航 -->
				<ol class="breadcrumb" style="border-radius: 0; background: #fff;">
					<li><a href="${ctx}/mng/main.jsp">首页</a></li>
					<li class="active">我的帐户</li>
				</ol>
				<!-- /路径导航 -->

				<!-- 表单 -->
				<div class="row">
					<form
						action="${ctx}/mng/mgr/edit.jhtml?id=${sessionScope.curr_mgr.id}"
						method="post" class="form-horizontal" role="from">
						<div class="form-group">
							<label class="col-md-3 control-label">用户名</label>
							<div class="col-md-6">
								<input type="text" name="lname"
									value="${sessionScope.curr_mgr.lname}"
									placeholder="英文、数字组成。6-12位" class="form-control"
									disabled="disabled" />
							</div>
						</div>
						

						<div class="form-group">
							<label class="col-md-3 control-label">邮箱</label>
							<div class="col-md-6">
								<input type="text" name="email"
									value="${sessionScope.curr_mgr.email}"
									placeholder="建议使用QQ、163、126邮箱" class="form-control"
									disabled="disabled">
							</div>
						</div>

						<div class="form-group">
							<label class="col-md-3 control-label">状态</label>
							<div class="col-md-6">
								<c:if test="${sessionScope.curr_mgr.status == 0}" var="flag">
									<label class="radio-inline"> <input type="radio"
										name="status" value="0" checked="checked" disabled="disabled">
										系统管理员

									</label>
									<label class="radio-inline"> <input type="radio"
										name="status" value="1" disabled="disabled"> 业务员
									</label>
								</c:if>
								<c:if test="${mgr.status == 1}">
									<label class="radio-inline"> <input type="radio"
										name="status" value="0" disabled="disabled"> 系统管理员

									</label>
									<label class="radio-inline"> <input type="radio"
										name="status" value="1" checked="checked" disabled="disabled">
										业务员
									</label>
								</c:if>
							</div>
						</div>

					</form>
				</div>
				<!-- /表单 -->

			</div>
			<!-- /主界面 -->
		</div>
	</div>
	<script src="${ctx}/js/jquery-1.11.1.min.js"></script>
	<script src="${ctx}/bootstrap3/js/bootstrap.min.js"></script>
	<script src="${ctx}/js/my.js"></script>
</body>
</html>